Skip to content

Generate streaming blob operations - #995

Merged
stobrien89 merged 1 commit into
developfrom
python-client-streaming
Nov 30, 2026
Merged

stobrien89 merged 1 commit into
developfrom
python-client-streaming

Conversation

@stobrien89

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Generated clients now support operations with streaming blob inputs and outputs, like S3's GetObject and PutObject. This is the first part of streaming. Event streams come next.

  • The generator no longer rejects streaming blobs. It still rejects event streams.
  • A streaming blob member is typed StreamingBlob. The async client may send an async stream and returns one.
  • An input with a streaming blob gets two dictionary forms, like the Java generator: <Input>Dict, whose body is a stream a sync client can send, and Async<Input>Dict for the async client, which may also take an async stream. The runtime already resolves the Async name.

The rest-json-1-client snapshot now includes the 3 StreamingTraits* operations. All 8 of their vectors pass for both clients, so the fixture runs all 244 restJson1 vectors. The harness now reads an async client's streamed output before comparing it.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@stobrien89
stobrien89 force-pushed the python-client-streaming branch from f0bec51 to 5cf20dc Compare November 30, 2026 16:54
@stobrien89
stobrien89 merged commit a379aa8 into develop Nov 30, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants